package com.mesd.killer.model;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.Proxy;

@Entity(name="gameDetail")
@Table(name="game_detail_data")
@Cache(usage=CacheConcurrencyStrategy.READ_ONLY)
@Proxy(lazy=false)
public class GameDetail implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4853165279298493289L;

	public final static String TABLE_GAME_DETAIL = "game_detail_data";
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="detail_id")
	private long detailId;
	public final static String DETAIL_ID = "detail_id";
	
//	@ManyToOne(targetEntity=GameDetail.class)
//	@JoinColumn(name="game_id",updatable=false)
//	private GameResult gameResult;
//	public final static String GAME_RESULT = "gameResult";
	
	@Column(name="game_id")
	private long gameId;
	public final static String GAME_ID = "game_id";
	
	@Column(name="company_name",length=10)
	private String companyName;
	public final static String COMPANY_NAME = "company_name";
	
	@Column(name="chupan_host_shuiwei")
	private float chupanHostShuiwei;
	public final static String CHUPAN_HOST_SHUIWEI = "chupanHostShuiwei";
	
	@Column(name="chupan_pankou")
	private String chupanPankou;
	public final static String CHUPAN_PANKOU = "chupan_pankou";
	
	@Column(name="chupan_visit_shuiwei")
	private float chupanVisitShuiwei;
	public final static String CHUPAN_VISIT_SHUIWEI = "chupanVisitShuiwei";
	
	@Column(name="jishi_host_shuiwei")
	private float jishiHostShuiwei;
	public final static String JISHI_HOST_SHUIWEI = "jishiHostShuiwei";
	
	@Column(name="jishi_pankou")
	private String jishiPankou;
	public final static String JISHI_PANKOU = "jishi_pankou";
	
	@Column(name="jishi_visit_shuiwei")
	private float jishiVisitShuiwei;
	public final static String JISHI_VISIT_SHUIWEI = "jishiVisitShuiwei";
	
	@Column(name="chupan_host_odds")
	private float chupanHostOdds;
	public final static String CHUPAN_HOST_ODDS = "chupanHostOdds";
	
	@Column(name="chupan_draw_odds")
	private float chupanDrawOdds;
	public final static String CHUPAN_DRAW_ODDS = "chupanDrawOdds";;
	
	@Column(name="chupan_visit_odds")
	private float chupanVisitOdds;
	public final static String CHUPAN_VISIT_ODDS = "chupanVisitOdds";
	
	@Column(name="jishi_host_odds")
	private float jishiHostOdds;
	public final static String JISHI_HOST_ODDS = "jishiHostOdds";
	
	@Column(name="jishi_draw_odds")
	private float jishiDrawOdds;
	public final static String JISHI_DRAW_ODDS = "jishiDrawOdds";;
	
	@Column(name="jishi_visit_odds")
	private float jishiVisitOdds;
	public final static String JISHI_VISIT_ODDS = "jishiVisitOdds";
	
	@Column(name="chupan_big_shuiwei")
	private float chupanBigShuiwei;
	public final static String CHUPAN_BIG_SHUIWEI = "chupanBigShuiwei";
	
	@Column(name="chupan_daxiao_pankou")
	private String chupanDaxiaoPankou;
	public final static String CHUPAN_DAXIAO_PANKOU = "chupanDaxiaoPankou";
	
	@Column(name="chupan_small_shuiwei")
	private float chupanSmallShuiwei;
	public final static String CHUPAN_SMALL_SHUIWEI = "chupanSmallShuiwei";
	
	@Column(name="jishi_big_shuiwei")
	private float jishiBigShuiwei;
	public final static String JISHI_BIG_SHUIWEI = "jishiBigShuiwei";
	
	@Column(name="jishi_daxiao_pankou")
	private String jishiDaxiaoPankou;
	public final static String JISHI_DAXIAO_PANKOU = "jishiDaxiaoPankou";
	
	@Column(name="jishi_small_shuiwei")
	private float jishiSmallShuiwei;
	public final static String JISHI_SMALL_SHUIWEI = "jishiSmallShuiwei";
	
	@Column(name="uda0",length=50)
	private String uda0;
	public final static String UDA0 = "uda0";
	
	@Column(name="uda1",length=50)
	private String uda1;
	public final static String UDA1 = "uda1";
	
	@Column(name="uda2",length=50)
	private String uda2;
	public final static String UDA2 = "uda2";
	
	@Column(name="udt0",columnDefinition="datetime")
	private Timestamp udt0;
	public final static String UDT0 = "udt0";
	
	@Column(name="udt1",columnDefinition="datetime")
	private Timestamp udt1;
	public final static String UDT1 = "udt1";
	
	@Column(name="udt2",columnDefinition="datetime")
	private Timestamp udt2;
	public final static String UDT2 = "udt2";
	
	public long getDetailId() {
		return detailId;
	}

	public void setDetailId(long detailId) {
		this.detailId = detailId;
	}
	
	

	public String getCompanyName() {
		return companyName;
	}

	public long getGameId() {
		return gameId;
	}

	public void setGameId(long gameId) {
		this.gameId = gameId;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public float getChupanHostShuiwei() {
		return chupanHostShuiwei;
	}

	public void setChupanHostShuiwei(float chupanHostShuiwei) {
		this.chupanHostShuiwei = chupanHostShuiwei;
	}

	public String getChupanPankou() {
		return chupanPankou;
	}

	public void setChupanPankou(String chupanPankou) {
		this.chupanPankou = chupanPankou;
	}

	public float getChupanVisitShuiwei() {
		return chupanVisitShuiwei;
	}

	public void setChupanVisitShuiwei(float chupanVisitShuiwei) {
		this.chupanVisitShuiwei = chupanVisitShuiwei;
	}

	public float getJishiHostShuiwei() {
		return jishiHostShuiwei;
	}

	public void setJishiHostShuiwei(float jishiHostShuiwei) {
		this.jishiHostShuiwei = jishiHostShuiwei;
	}

	public String getJishiPankou() {
		return jishiPankou;
	}

	public void setJishiPankou(String jishiPankou) {
		this.jishiPankou = jishiPankou;
	}

	public float getJishiVisitShuiwei() {
		return jishiVisitShuiwei;
	}

	public void setJishiVisitShuiwei(float jishiVisitShuiwei) {
		this.jishiVisitShuiwei = jishiVisitShuiwei;
	}

	public float getChupanHostOdds() {
		return chupanHostOdds;
	}

	public void setChupanHostOdds(float chupanHostOdds) {
		this.chupanHostOdds = chupanHostOdds;
	}

	public float getChupanDrawOdds() {
		return chupanDrawOdds;
	}

	public void setChupanDrawOdds(float chupanDrawOdds) {
		this.chupanDrawOdds = chupanDrawOdds;
	}

	public float getChupanVisitOdds() {
		return chupanVisitOdds;
	}

	public void setChupanVisitOdds(float chupanVisitOdds) {
		this.chupanVisitOdds = chupanVisitOdds;
	}

	public float getJishiHostOdds() {
		return jishiHostOdds;
	}

	public void setJishiHostOdds(float jishiHostOdds) {
		this.jishiHostOdds = jishiHostOdds;
	}

	public float getJishiDrawOdds() {
		return jishiDrawOdds;
	}

	public void setJishiDrawOdds(float jishiDrawOdds) {
		this.jishiDrawOdds = jishiDrawOdds;
	}

	public float getJishiVisitOdds() {
		return jishiVisitOdds;
	}

	public void setJishiVisitOdds(float jishiVisitOdds) {
		this.jishiVisitOdds = jishiVisitOdds;
	}

	public float getChupanBigShuiwei() {
		return chupanBigShuiwei;
	}

	public void setChupanBigShuiwei(float chupanBigShuiwei) {
		this.chupanBigShuiwei = chupanBigShuiwei;
	}

	public String getChupanDaxiaoPankou() {
		return chupanDaxiaoPankou;
	}

	public void setChupanDaxiaoPankou(String chupanDaxiaoPankou) {
		this.chupanDaxiaoPankou = chupanDaxiaoPankou;
	}

	public float getChupanSmallShuiwei() {
		return chupanSmallShuiwei;
	}

	public void setChupanSmallShuiwei(float chupanSmallShuiwei) {
		this.chupanSmallShuiwei = chupanSmallShuiwei;
	}

	public float getJishiBigShuiwei() {
		return jishiBigShuiwei;
	}

	public void setJishiBigShuiwei(float jishiBigShuiwei) {
		this.jishiBigShuiwei = jishiBigShuiwei;
	}

	public String getJishiDaxiaoPankou() {
		return jishiDaxiaoPankou;
	}

	public void setJishiDaxiaoPankou(String jishiDaxiaoPankou) {
		this.jishiDaxiaoPankou = jishiDaxiaoPankou;
	}

	public float getJishiSmallShuiwei() {
		return jishiSmallShuiwei;
	}

	public void setJishiSmallShuiwei(float jishiSmallShuiwei) {
		this.jishiSmallShuiwei = jishiSmallShuiwei;
	}

	public String getUda0() {
		return uda0;
	}

	public void setUda0(String uda0) {
		this.uda0 = uda0;
	}

	public String getUda1() {
		return uda1;
	}

	public void setUda1(String uda1) {
		this.uda1 = uda1;
	}

	public String getUda2() {
		return uda2;
	}

	public void setUda2(String uda2) {
		this.uda2 = uda2;
	}

	public Timestamp getUdt0() {
		return udt0;
	}

	public void setUdt0(Timestamp udt0) {
		this.udt0 = udt0;
	}

	public Timestamp getUdt1() {
		return udt1;
	}

	public void setUdt1(Timestamp udt1) {
		this.udt1 = udt1;
	}

	public Timestamp getUdt2() {
		return udt2;
	}

	public void setUdt2(Timestamp udt2) {
		this.udt2 = udt2;
	}

}
